package com.yjt.fresh.adpater.adpsection;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.TextView;

import com.yjt.fresh.R;

/**
 * 购物车item的头部
 * Created by mcc on 2018-07-30.
 */

public class AdpRvAtyCartHeaderHolder extends RecyclerView.ViewHolder {

    private final CheckBox mCbHeader;
    private final ImageView mIvStoreType;
    private final TextView mTvStoreName;
    private final TextView mTvGetCoupon;

    public CheckBox getCbHeader() {
        return mCbHeader;
    }

    public ImageView getIvStoreType() {
        return mIvStoreType;
    }

    public TextView getTvStoreName() {
        return mTvStoreName;
    }

    public TextView getTvGetCoupon() {
        return mTvGetCoupon;
    }

    public AdpRvAtyCartHeaderHolder(View itemView) {
        super(itemView);
        mCbHeader = itemView.findViewById(R.id.cbAppAtyCartStore);
        mIvStoreType = itemView.findViewById(R.id.ivAppAtyCartStore);
        mTvStoreName = itemView.findViewById(R.id.tvAppAtyCartStoreName);
        mTvGetCoupon = itemView.findViewById(R.id.tvAppAtyCartGetCoupon);
    }
}
